[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
BROADCAST IEXP1,IEXP2,SEXP
Function
Broadcast a single line message SEXP to nodes from IEXP1 to IEXP2
inclusive.
Syntax
BROADCAST lonode,hinode,message
lonode - An integer expression containing the low node number to
which the message should be broadcast.
hinode - An integer expression containing the high node number to
which the message should be broadcast.
message - A string expression containing the message text which
should be broadcast to the specified nodes.
Remarks
This PPL statement functions the same as the PCBoard BROADCAST command,
which is normally reserved for SysOp security level. This statement
allows you to programatically broadcast a message to a range of nodes
without giving users the ability to manually broadcast at any time they
choose.
Examples
' Broadcast a message to a specific node
BROADCAST 5,5,"This broadcast from "+STRING(PCBNODE())
' Broadcast to a range of nodes
BROADCAST 4,8,"Stand-by for log off in 10 seconds"
' Broadcast to all nodes
BROADCAST 1,65535,"Hello all!"
See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson